//
//  OosAtomParser.h
//  Oos4ios
//
//  Created by Pablo Gonzalez on 3/23/11.
//

#import <Foundation/Foundation.h>
#import "IOosParserCallback.h"
//#import "../Atom/Feeds/OosFeed.h"

@class OosFeed;

@protocol IOosFeedParser <NSObject>

- (NSArray *) parseFeed: (OosFeed *) feed;

- (void) parseFeed: (OosFeed *) feed 
      withCallback: (id<IOosParserCallback>) callback;

#pragma mark - json addons

- (NSArray *) parseJsonFeed: (NSString *) jsonFeed;

- (void) parseJsonFeed:(NSString *)feed 
          withCallback:(id<IOosParserCallback>)callback;

@end
